CREATE TABLE [dbo].[DnnProduct_Skins]
(
[SkinID] [int] NOT NULL IDENTITY(1, 1),
[SkinPackageID] [int] NOT NULL,
[SkinSrc] [nvarchar] (250) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DnnProduct_Skins] ADD CONSTRAINT [PK_DnnProduct_Skins] PRIMARY KEY CLUSTERED  ([SkinID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DnnProduct_Skins] ADD CONSTRAINT [FK_DnnProduct_Skins_DnnProduct_SkinPackages] FOREIGN KEY ([SkinPackageID]) REFERENCES [dbo].[DnnProduct_SkinPackages] ([SkinPackageID]) ON DELETE CASCADE
GO
